package com.hh.bss.common.tree;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

public class RoleResourceTreeNode extends TreeNode {	   
    public static String NodeType_funciton="FUNCTION";
    public static String NodeType_module="MODULE";
	private String cls="folder";
	private boolean checked=false;
    private Map attributes=new HashMap();
    
	public Map getAttributes() {
		attributes.put("authNodeType", authNodeType);
		
		attributes.put("checked", checked);
		attributes.put("parentId", this.getParentId());
		return attributes;
	}
	public void setAttributes(Map attributes) {
		this.attributes = attributes;
	}
	public String getCls() {
		return cls;
	}
	public void setCls(String cls) {
		this.cls = cls;
	}
	public boolean isChecked() {
		return checked;
	}
	public void setChecked(boolean checked) {
		this.checked = checked;
	}
	private String authNodeType="FUNCTION";
	public String getAuthNodeType() {
		return authNodeType;
	}
	public void setAuthNodeType(String authNodeType) {
		this.authNodeType = authNodeType;
	}
	
	
}
